﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage/CommonPage.master" AutoEventWireup="true" CodeFile="ActivityCourseManagement.aspx.cs" Inherits="Activity_ActivityCourseManagement" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="pagenav"><b>您现在的位置：</b>我的管理平台 > <strong><a href="ActivityManagement.aspx">活动信息管理</a></strong> > <asp:Literal ID="ltlActivityTitle" runat="server"></asp:Literal> > 关联课程管理</div>
<div style="overflow:auto;">
    <!--paneltitle-->
    <div class="paneltitle">已关联课程列表</div>
    <!--paneladd-->
    <div class="paneladd">
        
        <img src="<%=ResolveThemeImagePath("icon_add.gif")%>" width="15" height="15" border="0" alt="" align="absmiddle" />&nbsp;<asp:HyperLink ID="lnkBack" runat="server" Text="添加关联"></asp:HyperLink>
        <input type="button" class="btn" value="返回" onclick="javascript:window.location.href = 'ActivityManagement.aspx';this.blur();return false;" />
    </div>
</div>

<div class="DG">
    <table cellspacing="0">
        <thead>
            <tr>
                <th style="width:7%;">序号</th>
                <th style="width:45%;">课程ID</th>
                <th style="width:30%;">课程名称</th>
                <th style="width:10%;">发布日期</th>
                <th style="width:8%;">操作</th>
            </tr>
        </thead>
        <tbody>
            <asp:Repeater runat="server" ID="rpt_Course" OnItemCommand="rpt_Course_ItemCommand">
                <ItemTemplate>
                    <tr>
                        <td><%# Container.ItemIndex + 1%></td>
                        <td><%# Eval("CourseID")%></td>
                        <td><%# Eval("CourseName").ToString()%></td>
                        <td><%# DisplayDate(Eval("CourseAddTime").ToString())%></td>
                        
                        <td>
                            <asp:Button ID="btn_Delete" runat="server" ToolTip="删除该活动" CausesValidation="true" CommandName="delete" OnClientClick="return confirm('确定要删除吗？')" CommandArgument='<%#Eval("CourseID") %>' CssClass="deleteButton" />
                        </td>
                    </tr>
                </ItemTemplate>        
            </asp:Repeater>
        </tbody>
    </table>
</div>

<div style="padding-top: 5px;" id="dv_NoResult" runat="server" visible="false" class="importantinfo">
    没有相关记录！
</div>

</asp:Content>

